package com.ssm.controller;

import com.ssm.service.TheCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.rmi.RemoteException;

@Controller
public class TheCardController {
@Autowired
    TheCardService service;
String str;
//缴费登记
    @RequestMapping("/allDsjkPay")
    @ResponseBody
    public String allDsjkPay() throws RemoteException {
    str= service.allDsjkPay();
        System.out.println("str的值是："+str);
    return str;
}
    //即制卡标注
    @RequestMapping("/allDsjkmark")
    public String allDsjkmark() throws RemoteException {
            str= service.allDsjkmark();
    return str;
}
    //撤销标注
@RequestMapping("/allDsjkCancellationmark")
public String allDsjkCancellationmark() throws RemoteException {
    str= service.allDsjkCancellationmark();
    return str;
}
    //即制卡人数
    @RequestMapping("/allDsjknum")
    public String allDsjknum() throws RemoteException {
        str= service.allDsjknum();
        return str;
    }
    //即制卡人员
    @RequestMapping("/allDsjkpeople")
    public String allDsjkpeople() throws RemoteException {
        str= service.allDsjkpeople();
        return str;
    }
    //获取批次号
    @RequestMapping("/getbatch")
    public String getbatch() throws RemoteException {
        str= service.getbatch();
        return str;
    }
//    //即制卡批次
//    @RequestMapping("/allDsjkbatch")
//    public String allDsjkbatch() throws RemoteException {
//        String b
//        str= service.allDsjkbatch(bitch);
//        return str;
//    }
//    //即制卡数据
//    @RequestMapping("/allDsjkdata")
//    public String allDsjkdata() throws RemoteException {
//        str= service.allDsjkdata();
//        return str;
//    }
//    //即制卡回盘
//    @RequestMapping("/allDsjkBack")
//    public String allDsjkBack() throws RemoteException {
//        str= service.allDsjkBack();
//        return str;
//    }

}
